package models;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class Treino {
	public int idTreino;
	public String dataInicial;
	public String dataFinal;
	public int idProfessor;
	public int idAluno;
	public Set<ExercicioTreino> exercicio = new HashSet<ExercicioTreino>();
	
	public Usuario professor = new Usuario();
	public Usuario aluno = new Usuario();
	
	public String toString() {
		return this.idTreino +" "+ aluno.nome +" "+ this.dataInicial +" "+ this.dataFinal +" "+ professor.nome;
	}
}
